#!/bin/bash

#运行操作
#docker build -t outsourced-projects .
#docker run -itd --net=bridge -p 1113:8080 --name run-outsourced-projects outsourced-projects


dockerid=76929a0f89fb
docker cp config.toml $dockerid:/go/src/app/
#docker cp cert $dockerid:/go/src/app/cert
docker cp outsourced-projects $dockerid:/go/src/app/
docker cp StatisticsExportTemplate.xlsx $dockerid:/go/src/app/StatisticsExportTemplate.xlsx
docker cp DetailedExportTemplate.xlsx $dockerid:/go/src/app/DetailedExportTemplate.xlsx
docker restart $dockerid